﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class Monster : MonoBehaviour
{
    public string monsterName = "123456";
    // Start is called before the first frame update

    void Start()
    {
        Dead();
    }
    /// <summary>
    /// 怪物死亡的方法
    /// </summary>
    void Dead()
    {
        //触发事件
        EventCenter.GetInstance().EventTrigger<Monster>("MonsterDead",this);
    }
}
